package com.itheima.service.cargo;

import com.github.pagehelper.PageInfo;
import com.itheima.domain.cargo.Export;
import com.itheima.domain.cargo.ExportExample;
import com.itheima.domain.vo.ExportResult;

import java.util.List;

public interface ExportService {
    Export findById(String id);

    void save(Export export);

    void update(Export export);

    void delete(String id);

    PageInfo<Export> findByPage(ExportExample example,
                                int pageNum, int pageSize);

    void updateByExportResult(ExportResult exportResult);

    List<Export> selectByExample(ExportExample example);
}
